package com.zretc.entity;

import java.util.List;

/**
 *  @author 王兴杭
 *
 * 销售统计实体类
 */
public class Sales {

    //销售编码
    private Integer salesId;
    //销售时间
    private String salesTime;
    //销售数量
    private  Integer salesCount;
    //销售价格
    private  Float salesPrice;
    private Integer screeningId;
    //场次对象
    private Screening screening;


    public Sales() {
    }

    public Sales(Integer salesId, String salesTime, Integer salesCount, Float salesPrice, Integer screeningId) {
        this.salesId = salesId;
        this.salesTime = salesTime;
        this.salesCount = salesCount;
        this.salesPrice = salesPrice;
        this.screeningId = screeningId;
    }

    public Integer getScreeningId() {
        return screeningId;
    }

    public void setScreeningId(Integer screeningId) {
        this.screeningId = screeningId;
    }

    public Integer getSalesId() {
        return salesId;
    }

    public void setSalesId(Integer salesId) {
        this.salesId = salesId;
    }

    public Screening getScreening() {
        return screening;
    }

    public void setScreening(Screening screening) {
        this.screening = screening;
    }

    public String getSalesTime() {
        return salesTime;
    }

    public void setSalesTime(String salesTime) {
        this.salesTime = salesTime;
    }

    public Integer getSalesCount() {
        return salesCount;
    }

    public void setSalesCount(Integer salesCount) {
        this.salesCount = salesCount;
    }

    public Float getSalesPrice() {
        return salesPrice;
    }

    public void setSalesPrice(Float salesPrice) {
        this.salesPrice = salesPrice;
    }

    @Override
    public String toString() {
        return "Sales{" +
                "salesId=" + salesId +
                ", salesTime='" + salesTime + '\'' +
                ", salesCount=" + salesCount +
                ", salesPrice=" + salesPrice +
                ", screeningId=" + screeningId +
                ", screening=" + screening +
                '}';
    }
}
